package com.lanou.hotel.service;

import com.lanou.hotel.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanou.hotel.vo.ResultVO;

import java.util.Map;
import java.util.Objects;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author msy
 * @since 2023-10-17
 */
public interface IUserService extends IService<User> {

    ResultVO<Map<String, Object>> login(User user);

    ResultVO<Map<String, Object>> info(String token);

    ResultVO logout(String token);
}
